.class Lrexsee/core/browser/RexseeUrl$16;
.super Lrexsee/core/browser/clazz/UrlListener;
.source "RexseeUrl.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/core/browser/RexseeUrl;-><init>(Lrexsee/core/browser/Browser;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/core/browser/RexseeUrl;


# direct methods
.method constructor <init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V
    .locals 0
    .param p2, "$anonymous0"    # Ljava/lang/String;

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/core/browser/RexseeUrl$16;->this$0:Lrexsee/core/browser/RexseeUrl;

    .line 522
    invoke-direct {p0, p2}, Lrexsee/core/browser/clazz/UrlListener;-><init>(Ljava/lang/String;)V

    return-void
.end method


# virtual methods
.method public run(Landroid/content/Context;Lrexsee/core/browser/Browser;Ljava/lang/String;)V
    .locals 4
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "browser"    # Lrexsee/core/browser/Browser;
    .param p3, "url"    # Ljava/lang/String;

    .prologue
    const-string v3, "<br>"

    .line 525
    iget-object v0, p2, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "<br>"

    invoke-direct {v1, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p2, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v2}, Lrexsee/core/browser/clazz/History;->getCurrentItem()Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v2

    invoke-virtual {v2}, Lrexsee/core/browser/clazz/HistoryItem;->getTitle()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "<br><br>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "URL: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p2, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v2}, Lrexsee/core/browser/clazz/History;->getCurrentItem()Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v2

    invoke-virtual {v2}, Lrexsee/core/browser/clazz/HistoryItem;->getUrl()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "<br>"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lrexsee/core/application/RexseeApplication;->alert(Ljava/lang/String;)V

    .line 526
    return-void
.end method

.method public shouldAddToHistory(Landroid/content/Context;Lrexsee/core/browser/Browser;Ljava/lang/String;)Z
    .locals 1
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "browser"    # Lrexsee/core/browser/Browser;
    .param p3, "url"    # Ljava/lang/String;

    .prologue
    .line 529
    const/4 v0, 0x0

    return v0
.end method
